package com.agileboot.attendance.domain.record.dto;

import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 考勤记录DTO
 *
 * @author ruoyi
 */
@Data
public class AttendanceRecordDTO {
    
    /**
     * 记录ID
     */
    private Long recordId;
    
    /**
     * 员工ID
     */
    private Long employeeId;
    
    /**
     * 员工姓名
     */
    private String employeeName;
    
    /**
     * 考勤日期
     */
    private LocalDate attendanceDate;
    
    /**
     * 上班打卡时间
     */
    private LocalDateTime clockInTime;
    
    /**
     * 上班打卡地址
     */
    private String clockInAddress;
    
    /**
     * 下班打卡时间
     */
    private LocalDateTime clockOutTime;
    
    /**
     * 下班打卡地址
     */
    private String clockOutAddress;
    
    /**
     * 考勤状态(0:正常 1:迟到 2:早退 3:缺勤 4:请假 5:外勤)
     * 对应前端的AttendanceStatus枚举值
     */
    private String status;
    
    /**
     * 考勤规则ID
     */
    private Long ruleId;
    
    /**
     * 考勤规则名称
     */
    private String ruleName;
    
    /**
     * 备注
     */
    private String remark;
} 